<div id="header-top">

    <div id="headertop-public" class="auto">
            <div id="weblogo">
                    <a href="__APP__/"  target="_blank" ><img src="../Public/images/SameusLogo.png" alt="同众网" width="120" height="40"/></a>
            </div>
       <ul class="left" id="sameus-bannar">
                      <li><a href="__APP__/Center/Index/">我的社群</a></li>
                    <li><a href="__APP__/Center/Article/index">发表文章</a></li>
                    <li> <a href="__APP__/Center/Article/my_article">我的文章</a></li>
                     <li><a href="__APP__/Center/Group/creategroup">创建群组</a></li>
      </ul>

        <ul id="userinfo" class="right">  
               <if condition="!isset($_SESSION[C('USER_AUTH_KEY')])">
             <li class="right"><a href="__APP__/Center/Login/index">登录</a></li>
                 <li class="right"><a href="__APP__/Center/Login/regist">注册</a></li>
             <else/>
             <li class="right" >欢迎您，<a href="__APP__/Center/Index/index">{$_SESSION['uname']}</a>！</li>
             <li class="right"><a href="__APP__/Center/Login/logout">登出</a></li>
              </if>
        </ul>

    </div>
    
</div>
<div class="clear" style="height:60px;">

</div>